

package com.erp.app.catalog.category.vo;


import java.util.ArrayList;

import com.erp.framework.util.CommonUtil;
import com.erp.framework.types.*;
import com.erp.app.catalogLogin.pk.*;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;

public class CategoryItemLineVO extends SimpleSearchMaintStyleVo {

	//DB Table Name: V_CATEGORY_ITEM_CLASS

	//PK Attributes
	private String companyCode = "";                                                                   //DB Column Name: COMPANY_CODE
	private String itemLine = "";                                                                      //DB Column Name: ITEM_LINE
	//Other Attributes
	private String itemLineDesc = "";
	
	private ArrayList itemCategoryVos = new ArrayList();

	

	public ArrayList getItemCategoryVos() {
		return itemCategoryVos;
	}

	public void setItemCategoryVos(ArrayList itemCategoryVos) {
		this.itemCategoryVos = itemCategoryVos;
	}

	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, itemLine = " + this.itemLine + "}\n";
		String colStr = "COL: {itemLineDesc = " + this.itemLineDesc + "}\n";

		return "CategoryItemLineRow.toString() is:\n" + pkStr + colStr + "\n";
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getItemLine() {
		return this.itemLine;
	}
	public String getItemLineDesc() {
		return this.itemLineDesc;
	}

	

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setItemLine(String itemLine) {
		this.itemLine = itemLine;
	}
	public void setItemLineDesc(String itemLineDesc) {
		this.itemLineDesc = itemLineDesc;
	}
	

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


	public SimpleSearchMaintStylePk getPk() {
//		return new CategoryItemClassPk(String.valueOf(this.getCompanyCode()), String.valueOf(this.getItemLine()), String.valueOf(this.getItemCategory()), String.valueOf(this.getItemClass()));
		return null;
	}

	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		// TODO Auto-generated method stub
		return null;
	}

	protected void setDaoName() {
		this.daoName = "com.erp.app.catalog.category.dao.CategoryCommonDao";		
	}

	protected void setChildTypesName() {	
		
	}
	protected void setTableSchemaName(){
		this.tableSchemaName = "com.erp.app.catalog.category.schema.CategoryItemLineSchema";
	}
	protected  void setChildTableSchemaNames() {
		this.childTableSchemaNames=null;
	}

	public CategoryItemLineVO() {
		
	}

	public CategoryItemLineVO(String companyCode, String itemLine, String itemLineDesc, ArrayList itemCategoryVos) {		
		this.companyCode = companyCode;
		this.itemLine = itemLine;
		this.itemLineDesc = itemLineDesc;
		this.itemCategoryVos = itemCategoryVos;
	}
	
}
